Use glib-sys via re-exported `glib::ffi` (and similar for gio)
authorColin Walters <walters@verbum.org>
Tue, 3 Aug 2021 19:41:30 +0000 (15:41 -0400)
committerColin Walters <walters@verbum.org>
Fri, 6 May 2022 16:53:57 +0000 (12:53 -0400)
commit9b57bda60773494c850e517cf1b5aa71efe4fbfd
tree9bbda80f74f79a7325aa07d153310a248b3424db
parent709b35bf1159004c0c245c849d76cc7b92b16f76
Use glib-sys via re-exported `glib::ffi` (and similar for gio)

In general only `-sys` crates should depend on other `-sys`
crates.  IOW for us, `ostree-sys` depends on `glib-sys`.

By using the re-export, we avoid needing to keep a version lock
between `glib` and `glib-sys` in our main crate.  And similar
is true of our higher level reverse dependencies (e.g. `ostree-rs-ext`).

Also weaken our dependency to `0.14` as that's clearer.
rust-bindings/rust/.gitlab-ci.yml
rust-bindings/rust/Cargo.toml
rust-bindings/rust/src/checksum.rs
rust-bindings/rust/src/functions.rs
rust-bindings/rust/src/object_name.rs
rust-bindings/rust/src/repo.rs
rust-bindings/rust/src/repo_checkout_at_options/mod.rs
rust-bindings/rust/src/repo_checkout_at_options/repo_checkout_filter.rs
rust-bindings/rust/src/repo_transaction_stats.rs
rust-bindings/rust/src/sysroot_write_deployments_opts.rs
rust-bindings/rust/sys/Cargo.toml